import logging

from libs.hashids import Hashids

# oss 前缀
# OSS_PREFIX = '{0[PROTO]}://{0[ACCESS_ENDPOINT]}/'.format(settings.SERVICES["ALI_OSS"])
OSS_PREFIX = 'http://static.ishanghuijia.com/'

# 错误日志logger
logger = logging.getLogger('error')

# hash ids
hds = Hashids('^IaXbftaL$APci2A61je@f1PlSpoLZWK', 12)
